<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../layui/css/layui.css?ts=92644664">
    <link rel="stylesheet" href="../css/cms.css?ts=92644664">
    <link theme rel="stylesheet" href="../css/theme-cyan.css?ts=92644664">
    <script src="../js/jquery.js?ts=92644664"></script>
    <script src="../js/jquery.cookie.js?ts=92644664"></script>
    <script src="../layui/layui.js?ts=92644664"></script>
    <script src="../js/ts.js?ts=92644664"></script>
    <script src="../js/tstab.js?ts=92644664"></script>
    <script src="../layui/lay/modules/layer.js?ts=92644664"></script>
    <script src="../js/requestConfig.js?ts=92644664"></script>
    <title>后台</title>
</head>


<body class="layui-layout-body">
    <!-- 定义layui后台布局 -->
    <div class="layui-layout layui-layout-admin ts-flexible">
        <!-- 顶部导航栏 -->
        <div class="layui-header" id="heading-nav">
            <!-- LOGO区域 -->
            <div class="layui-logo" lay-href="">
                <span>52论坛</span>
            </div>
            <!-- 顶部左侧导航栏 -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layadmin-flexible">
                    <a href="javascript:;" flexible="false" tsadmin-event="flexible" title="侧边伸缩">
                        <i class="layui-icon layui-icon-shrink-right"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="../" target="_blank" title="前台">
                        <i class="layui-icon layui-icon-website"></i>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" class="ts-tb-reload" layadmin-event="refresh" title="刷新">
                        <i class="layui-icon layui-icon-refresh-3"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect="">
                    <input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search">
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item layui-hide-xs ">
                    <a href="javascript:;" tsadmin-event="changetheme">
                        <i class="layui-icon layui-icon-theme"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="javascript:;" layadmin-event="note">
                        <i class="layui-icon layui-icon-note"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="javascript:;" fullscreen="false" tsadmin-event="fullscreen">
                        <i class="layui-icon layui-icon-screen-full"></i>
                    </a>
                </li>
                <li class="layui-nav-item">

                    <a href="javascript:;">
                        <cite>贤心</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child layui-anim layui-anim-upbit">
                        <dd><a href="javascript:;">基本资料</a></dd>
                        <dd><a href="javascript:;">修改密码</a></dd>
                        <hr>
                        <dd layadmin-event="logout" style="text-align: center;"><a href="javascript:;">退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="javascript:;" layadmin-event="about">
                        <i class="layui-icon layui-icon-more-vertical"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm">
                    <a href="javascript:;" layadmin-event="more">
                        <i class="layui-icon layui-icon-more-vertical"></i>
                    </a>
                </li>
            </ul>
        </div>
        <!-- 左侧导航区域 -->
        <div class="ts-nav-left">
            <ul id="nav-left" class="layui-nav layui-nav-tree layui-nav-side">
                <!-- layui-nav-itemed默认展开 -->
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-username"></i>
                        <cite>用户管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a class="ts-tab-active" tbkey="AllUser" href="javascript:;">全部用户</a></dd>
                        <dd><a class="ts-tab-active" tbkey="AddUser" href="javascript:;">添加用户</a></dd>
                        <dd><a class="ts-tab-active" tbkey="UserScore" href="javascript:;">用户积分</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-username"></i>
                        <cite>板块管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a class="ts-tab-active" tbkey="BPlate" href="javascript:;">大板块</a></dd>
                        <dd><a class="ts-tab-active" tbkey="SPlate" href="javascript:;">小板块</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-list"></i>
                        <cite>帖子管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a class="ts-tab-active" tbkey="AllPost" href="javascript:;">全部帖子</a></dd>
                        <dd><a class="ts-tab-active" tbkey="PostExamine" href="javascript:;">帖子审核</a></dd>
                        <dd><a class="ts-tab-active" tbkey="ReleasePost" href="javascript:;">发布帖子</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="ts-tab-active" tbkey="AuthAdmin" href="javascript:;"><i
                            class="layui-icon layui-icon-password"></i>
                        <cite>权限管理</cite>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a class="ts-tab-active" tbkey="CommentAdmin" href="javascript:;"><i
                            class="layui-icon layui-icon-reply-fill"></i>
                        <cite>评论管理</cite>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a class="ts-tab-active" tbkey="LogAdmin" href="javascript:;"><i
                            class="layui-icon layui-icon-table"></i>
                        <cite>系统日志</cite>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a class="ts-tab-active" tbkey="MyData" href="javascript:;">
                        <i class="layui-icon layui-icon-username"></i>
                        <cite>个人信息</cite>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <cite>登出账户</cite>
                    </a>
                </li>
            </ul>
        </div>
        <!-- 网站内容区域 -->
        <div class="layui-body" id="container">
            <div id="tsCms" lay-filter="tsCms" class="layui-tab layui-tab-brief" lay-allowclose="true">
                <ul class="layui-tab-title">
                    <li class="layui-this ts-tab-first" lay-id="Index">首页</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">首页内容</div>
                </div>
            </div>
            <div style="padding: 15px;">
                <!-- 网站主体内容 -->
            </div>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            © yhong.info
        </div>
    </div>
</body>
<script>
    var nowTheme = "cyan",historyTheme="cyan", btnThemeBg = "layui-bg-" + nowTheme;
    $(function () {
        var themeCookie = getCookie("TS_Admin_Theme");
        if (themeCookie != null) {
            historyTheme = nowTheme;
            nowTheme = themeCookie;
        }
        doTheme();
    });
    function doTheme() {
        var themeHref = "../css/theme-" + nowTheme + ".css?ts=92644664";
        $("link[theme]").attr("href", themeHref);
        $("button[actionBtn]").addClass(btnThemeBg);
    }
    function msg(msg) {
        layui.use('layer', function () {
            var layer = layui.layer;
            layer.msg(msg, { time: 1000, maxWidth: 200 });
        });
    }
    
    tabObjectConfig.tabModel = "../resources/View/"; //初始化选项卡资源路径
    tabObjectConfig.popupUrl = "../resources/Popup/"; //初始化弹出层资源路径

</script>

</html>